﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ForumsBrowser.BusinessObjects;

namespace ForumsBrowser
{
    /// <summary>
    /// Interaction logic for MessageDetailControl.xaml
    /// </summary>
    public partial class MessageDetailControl : UserControl
    {        
        public MessageDetailControl()
        {
            InitializeComponent();
        }

        public static readonly DependencyProperty MessageProperty = DependencyProperty.Register(
            "Message", typeof(Message), typeof(MessageDetailControl));

        public Message Message
        {
            get { return (Message)this.GetValue(MessageProperty); }
            set { this.SetValue(MessageProperty, value); }
        }
    }
}
